//---------------------------------------------------------------------------
#ifndef RecognizeH
#define RecognizeH
//---------------------------------------------------------------------------

#include "Pattern.h"

class TRecognize  {
private :
	TIPattern	*ppattern;
	void	Sizing(void);
	void	PreProcessing(void);
	int		SubRecognizing(void);
	int		GetAngle(int x1,int y1,int x2,int y2);
	int		Distance(int x1,int y1,int x2,int y2);
public :
	TRecognize(void){};
	int		DoRecognize(TIPattern *ippattern);
};

#endif
